var dataObj = {
	"first" : [1,25],
	"next" : [[26,50],[51,58]],
	"last" : [34, 58],
	"previous" : [[9, 33], [1, 8]]
};

function getData(action, index) {
	var dataSet = dataObj[action];
	index >= 0 && (dataSet = dataSet[index]);
	var returnArr = [];
	for(var i = dataSet[0]; i <= dataSet[1]; i++) {
		returnArr.push({
			"LINENUM" : i.toString()
		});
	}
	return returnArr;
}